package mcweb.util.file;

public class FileUtilTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String text = FileUtil.readTextFile("H://book35.txt");
		
		String[] arr = FileUtil.chopFirstLine(text);
		System.out.println(arr[0]);
		System.out.println("--------------------------------------");
		System.out.println(arr[1]);
		System.out.println();
		
		String[] arr1 = FileUtil.chopLastLine(text);
		System.out.println(arr1[0]);
		System.out.println("--------------------------------------");
		System.out.println(arr1[1]);
		
	}

}
